package com.itheima.dao.factory;

import com.itheima.dao.UserDao;
import com.itheima.dao.impl.UserDaoImpl;
//静态工厂方式
public class StaticFactory {
    public static UserDao getUserDao(){
        return new UserDaoImpl();
    }
}
